package com.tcs.file;

import java.io.File;
import java.io.IOException;

import org.springframework.core.io.ClassPathResource;
import org.springframework.stereotype.Component;

import com.tcs.util.constant.SystemConstants;

/**
 * 代理池配置路径
 * @author wangbo
 */
@Component("loadFile")
public class LoadFile implements ILoadFile {
	
	@Override
	public File loadFile() throws IOException {
		return new ClassPathResource(SystemConstants.ProxyPool.PROXYPOOLPATH).getFile();
	}

}